package grape.crm.rest.customer.form;
import grape.common.rest.form.BasePageForm;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 客户表
 * </p>
 *
 * @author yangwei
 * @since 2020-09-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="客户分页查询条件对象")
public class CustomerListPageForm extends BasePageForm {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "客户编号，唯一")
    private String code;

    @ApiModelProperty(value = " 称呼")
    private String appellation;

    @ApiModelProperty(value = "姓名，真实姓名")
    private String name;


    @ApiModelProperty(value = "性别，字典id")
    private String genderDictId;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "客户所在公司id")
    private String companyId;

    @ApiModelProperty(value = "客户所在部门id")
    private String departmentId;

    @ApiModelProperty(value = "黑名单状态，0=正常；1=黑名单")
    private Boolean isBlack;

    @ApiModelProperty(value = "客户分类，字典")
    private String categoryDictId;

    @ApiModelProperty(value = "唯一id，有可能不同的客户数据其实是同一个客户，这里唯一标识，默认为主键id")
    private String unionId;


}
